const Layout = () => import('@/layout/index.vue')

export default {
    path: '/patrol',
    component: Layout,
    redirect: '/patrol/patrolPoint',
    name: 'patrolPoint',
    meta: {
        title: '巡查',
        icon: 'sidebar-menu'
    },
    children: [{
        path: 'patrolPoint',
        name: 'patrolPoint',
        component: () => import('@/views/sociolUnitMange/patrolPoint.vue'),
        meta: {
            title: '巡查点位'
        },

    },{
        path: 'patrolItem',
        name: 'patrolItem',
        meta: {
            title: '巡查项'
        },
        children:[{
            path:'commonItem',
            name:'commonItem',
            component:()=>import('@/views/patrol/commonItem.vue'),
            meta:{
                title:'普通项',
                    activeMenu: '/patrol/patrolPoint',
            }
        },{
            path:'deviceItem',
            name:'deviceItem',
            component:()=>import('@/views/patrol/deviceItem.vue'),
            meta:{
                title:'设备项',
                    activeMenu: '/patrol/patrolPoint',
            }
        }]
    }]
}
